package com.lixin.mail.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.lixin.mail.coupon.dao")
@EnableDiscoveryClient // 注册服务
@SpringBootApplication
@EnableFeignClients() // 开启openFeign
public class MailCouponApplication {

	public static void main(String[] args) {
		SpringApplication.run(MailCouponApplication.class, args);
	}

}
